﻿<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="../Master.xslt" type="text/xsl"?>
<content doctype="xhtml1-strict">
  <param name="step" />
  <param name="message" select="'button 2 clicked'" />
  <html output:xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:output="urn:output">
    <head>
      <title>Javascript Example</title>
      <meta name="description" content="Javascript - inline and script block" />
      <link rel="stylesheet" type="text/css" href="/_Content/Site.css" />
      <script type="text/javascript">
        <![CDATA[
        
        function button1_click() {
          alert('button1 clicked');
        }
        ]]>
      </script>
    </head>
    <body>
      <pageContent>
        <p>
          <button onclick="button1_click()" value="Button1">Button 1</button>
        </p>
        <p>

          <button onclick="alert('{{$message}}')" value="Button2">Button 2</button>
        </p>
        <debug />
        <wizardNav name="SampleJavascript" />
      </pageContent>
    </body>
  </html>
</content>
